<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MES登录页</title>
</head>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<body background="/img/aa.png">
<form class="form-horizontal" role="form" action="/login" method="post"
      style="margin-left: 30%;margin-top: 200px;">
    <div class="form-group">
        <label for="firstname" class="col-sm-2 control-label">用户</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="firstname" name="name"
                   placeholder="请输入用户名">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-4">
            <input type="password" class="form-control" id="lastname" name="pass"
                   placeholder="请输入密码">
        </div>
    </div>
    <!--/*@thymesVar id="msg" type="ch"*/-->

    <div class="form-group" style="margin-left: 10%;margin-top: 30px;">
        <div class="col-sm-offset-2 col-sm-10">
            <p style="color: darkred" th:text="${msg}" />
            <button type="submit" class="btn btn-default">登录</button>
        </div>
    </div>
</form>



</body>


</html>